package com.punai.standard.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 材料费用项对象 sta_cl_fee
 *
 * @author zhx
 * @date 2022-12-21
 */
@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
public class StaClFee extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ExcelProperty("ID")
        private String id;

    /** 版本id */
    @ExcelIgnore
        private String versionId;

    /** 章节id */
            @ExcelProperty("章节id")
        private String chapterId;

    /** 编码 */
            @ExcelProperty("编码")
        private String code;

            @ExcelIgnore
            private String linkCategories;

    /** 费用项名称 */
            @ExcelProperty("名称")
        private String itemName;

    /** 费用项单位 */
            @ExcelProperty("单位")
        private String unit;

    /** 规格型号 */
            @ExcelProperty("规格型号")
        private String spec;

    /** 序号 */
            @ExcelProperty("序号")
        private Integer orderNum;

            @TableField(exist = false)
            @ExcelIgnore
            private String linkFeatures;

    /** 部门id */
    @ExcelIgnore
        @TableField(fill = FieldFill.INSERT)
        private Long deptId;

    /** 用户id */
    @ExcelIgnore
        @TableField(fill = FieldFill.INSERT)
        private Long userId;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setVersionId(String versionId)
            {
            this.versionId = versionId;
            }

    public String getVersionId()
            {
            return versionId;
            }
    public void setChapterId(String chapterId)
            {
            this.chapterId = chapterId;
            }

    public String getChapterId()
            {
            return chapterId;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setItemName(String itemName)
            {
            this.itemName = itemName;
            }

    public String getItemName()
            {
            return itemName;
            }
    public void setUnit(String unit)
            {
            this.unit = unit;
            }

    public String getUnit()
            {
            return unit;
            }
    public void setSpec(String spec)
            {
            this.spec = spec;
            }

    public String getSpec()
            {
            return spec;
            }
    public void setOrderNum(Integer orderNum)
            {
            this.orderNum = orderNum;
            }

    public Integer getOrderNum()
            {
            return orderNum;
            }
    public void setDeptId(Long deptId)
            {
            this.deptId = deptId;
            }

    public Long getDeptId()
            {
            return deptId;
            }
    public void setUserId(Long userId)
            {
            this.userId = userId;
            }

    public Long getUserId()
            {
            return userId;
            }

            public String getLinkFeatures() {
                return linkFeatures;
            }

            public void setLinkFeatures(String linkFeatures) {
                this.linkFeatures = linkFeatures;
            }

            public String getLinkCategories() {
                return linkCategories;
            }

            public void setLinkCategories(String linkCategories) {
                this.linkCategories = linkCategories;
            }

            @Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionId", getVersionId())
            .append("chapterId", getChapterId())
            .append("code", getCode())
            .append("itemName", getItemName())
            .append("unit", getUnit())
            .append("spec", getSpec())
            .append("orderNum", getOrderNum())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
        .toString();
        }
        }
